<?php
namespace app\admin\model;

class Sn extends Base
{
    // protected $name = 'sn';

    //设备列表
    public function getAll()
    {
        $data=$this
            ->field('id,sn,imei,status,sync_at,device_model_id,franchiser_group_id,created_at,updated_at')
            //->where("deleted_at","exp","is null")
           // ->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}